#ifndef __MULTISPRITEFRAMEFACTORY_H
#define __MULTISPRITEFRAMEFACTORY_H

#include "factory.h"

#include <map>

class MultiSpriteFrameFactory : public AbstractFactory
{
	public:
		static MultiSpriteFrameFactory* getInstance();
		~MultiSpriteFrameFactory();

		Frame* getFrame( const string& name );

	private:
		static MultiSpriteFrameFactory* instance;
		const Gamedata& gdata;
		std::map<string, Frame*> multiFrames;
		MultiSpriteFrameFactory();
		MultiSpriteFrameFactory(const MultiSpriteFrameFactory &);
		MultiSpriteFrameFactory& operator=(const MultiSpriteFrameFactory &);
};

#endif // !__MULTISPRITEFRAMEFACTORY_H
